Browse Source

CI: molecule fixes

- use become: true when running bootstrap-os in molecule
- match host name in bastion-ssh-config to not confuse the provisionner
pull/12026/head
Max Gautier 1 month ago
parent
commit
0efb415ec6
Failed to extract signature
2 changed files with 2 additions and 1 deletions
  1. 2
      roles/bastion-ssh-config/molecule/default/molecule.yml
  2. 1
      roles/bootstrap-os/molecule/default/converge.yml

2
roles/bastion-ssh-config/molecule/default/molecule.yml

@ -3,7 +3,7 @@ role_name_check: 1
dependency:
name: galaxy
platforms:
- name: ubuntu20
- name: bastion-01
cloud_image: ubuntu-2004
vm_cpu_cores: 1
vm_memory: 512

1
roles/bootstrap-os/molecule/default/converge.yml

@ -2,5 +2,6 @@
- name: Converge
hosts: all
gather_facts: false
become: true
roles:
- role: bootstrap-os
Loading…
Cancel
Save