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