testing variables/secrets
All checks were successful
Ansible Test / CentOS9-Ansible-Pipeline (push) Successful in 5s

This commit is contained in:
Chris Hammer 2023-12-13 20:34:23 -05:00
parent 483b28c4ba
commit eea37229a8

View File

@ -11,109 +11,11 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3
- name: Ansible Version
- name: Secrets Echo
run: |
ansible --version
echo ${{ secrets.SUPER_SECRET }} > /tmp/super_secret.txt
cat /tmp/super_secret.txt
- name: Ansible-lint Version
- name: Variables Echo
run: |
ansible-lint --version
- name: Ansible Galaxy Requirements Install
run: |
ansible-galaxy collection install -r collections/requirements.yml
- name: Run Ansible-Lint
run: |
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# FEDORA 39
#########################
Fedora39-Ansible-Pipeline:
runs-on: ansible-dev-fedora39
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Ansible Version
run: |
ansible --version
- name: Ansible-lint Version
run: |
ansible-lint --version
- name: Ansible Galaxy Requirements Install
run: |
ansible-galaxy collection install -r collections/requirements.yml
- name: Run Ansible-Lint
run: |
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# DEBIAN 11
#########################
Debian11-Ansible-Pipeline:
runs-on: ansible-dev-debian11
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Ansible Version
run: |
ansible --version
- name: Ansible-lint Version
run: |
ansible-lint --version
- name: Ansible Galaxy Requirements Install
run: |
ansible-galaxy collection install -r collections/requirements.yml
- name: Run Ansible-Lint
run: |
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
# DEBIAN 12
#########################
Debian12-Ansible-Pipeline:
runs-on: ansible-dev-debian12
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Ansible Version
run: |
ansible --version
- name: Ansible-lint Version
run: |
ansible-lint --version
- name: Ansible Galaxy Requirements Install
run: |
ansible-galaxy collection install -r collections/requirements.yml
- name: Run Ansible-Lint
run: |
ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea
- name: Run Ansible-Playbook
run: |
ansible-playbook -v -i 127.0.0.1, --connection=local callback_demo.yml
echo ${{ variables.BOB }}