switch to deb pkg of ansible for actions
Some checks failed
Ansible Lint / build (push) Waiting to run
Ansible Deploy / deploy (Ansible/cloudflare-dns.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/debian.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/openssh.yml) (push) Has been cancelled
Ansible Deploy / deploy (Ansible/heartbeat.yml) (push) Has been cancelled
Some checks failed
Ansible Lint / build (push) Waiting to run
Ansible Deploy / deploy (Ansible/cloudflare-dns.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/debian.yml) (push) Failing after 4s
Ansible Deploy / deploy (Ansible/openssh.yml) (push) Has been cancelled
Ansible Deploy / deploy (Ansible/heartbeat.yml) (push) Has been cancelled
This commit is contained in:
parent
57e600f3d6
commit
58236b7159
@ -5,7 +5,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
ANSIBLE_VERSION: "8.7.0"
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
playbook:
|
playbook:
|
||||||
@ -26,17 +25,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: "Cache python packages"
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.cache/pip
|
|
||||||
key: ${{ runner.os }}-${{ env.ANSIBLE_VERSION }}
|
|
||||||
|
|
||||||
- name: Install Ansible
|
- name: Install Ansible
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-add-repository ppa:ansible/ansible -y
|
||||||
apt update -y
|
apt update -y
|
||||||
apt install python3-pip -y
|
sudo apt install ansible -y
|
||||||
python3 -m pip install ansible==${{ env.ANSIBLE_VERSION }}
|
|
||||||
|
|
||||||
#- name: Install Ansible Galaxy requirements
|
#- name: Install Ansible Galaxy requirements
|
||||||
# run: |
|
# run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user