fix: install roles on runner
This commit is contained in:
@@ -77,6 +77,10 @@ jobs:
|
|||||||
apt update
|
apt update
|
||||||
apt install -y ansible
|
apt install -y ansible
|
||||||
|
|
||||||
|
- name: Install Ansible Roles
|
||||||
|
run: |
|
||||||
|
ansible-galaxy install -r ../ansible/requirements.yml
|
||||||
|
|
||||||
- name: Run Ansible Playbook
|
- name: Run Ansible Playbook
|
||||||
env:
|
env:
|
||||||
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
|
||||||
|
@@ -9,10 +9,10 @@
|
|||||||
- name: docker
|
- name: docker
|
||||||
- name: requests
|
- name: requests
|
||||||
tasks:
|
tasks:
|
||||||
- name: Ensure Python 3 and pip are installed
|
# - name: Ensure Python 3 and pip are installed
|
||||||
ansible.builtin.raw: |
|
# ansible.builtin.raw: |
|
||||||
sudo apt update && sudo apt install -y python3 python3-pip
|
# sudo apt update && sudo apt install -y python3 python3-pip
|
||||||
changed_when: false
|
# changed_when: false
|
||||||
|
|
||||||
# - name: Install 'six' module
|
# - name: Install 'six' module
|
||||||
# ansible.builtin.pip:
|
# ansible.builtin.pip:
|
||||||
|
Reference in New Issue
Block a user