Skip to content

Commit

Permalink
add ansible.posix collection to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Skrivanek <michal.skrivanek@redhat.com>
  • Loading branch information
michalskrivanek committed Apr 17, 2023
1 parent a4f4e9b commit 3eb88eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get install python3.9-venv -y
- name: Install ansible.posix
run: ansible-galaxy collection install -c ansible.posix

- name: Checkout
uses: ovirt/checkout-action@main

Expand Down Expand Up @@ -69,6 +72,9 @@ jobs:
- name: Install python3.9 modules
run: ${{ matrix.pip-command }} install pycodestyle pylint voluptuous yamllint rstcheck antsibull-changelog rich "ansible-lint>=6.0.0,<7.0.0" cryptography

- name: Install ansible.posix
run: ansible-galaxy collection install -c ansible.posix

- name: Checkout
uses: ovirt/checkout-action@main

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- name: Set Engine public key as authorized key without validating the TLS/SSL certificates
connection: ssh
authorized_key:
ansible.posix.authorized_key:
user: root
state: present
key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
register: vlan_id_out
changed_when: true
- name: Set Engine public key as authorized key without validating the TLS/SSL certificates
authorized_key:
ansible.posix.authorized_key:
user: root
state: present
key: https://{{ he_fqdn }}/ovirt-engine/services/pki-resource?resource=engine-certificate&format=OPENSSH-PUBKEY
Expand Down

0 comments on commit 3eb88eb

Please sign in to comment.