diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-12-11 13:43:26 +0100 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-12-11 14:22:05 +0100 |
| commit | d763ab907de4c3b352914ea76730790d775acefd (patch) | |
| tree | 177d910e3b77d0d84e2764561956eee630bab401 /molecule/archlinux | |
| parent | 103a1bbef15f342fc28ede9167f746a3ae3c4890 (diff) | |
Restructure the molecule testing to match the playbook structure
Diffstat (limited to 'molecule/archlinux')
| -rw-r--r-- | molecule/archlinux/converge.yml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml index 70af5253..766ae51f 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -1,6 +1,6 @@ --- -- name: Converge - hosts: archlinux +- name: "Bootstrap" + hosts: "archlinux" gather_facts: true environment: PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" @@ -10,6 +10,20 @@ - "ssh-ed25519 AAAA...fMo" - "ssh-rsa AAAA...4I3" user_groups: ["wheel", "test_group"] + roles: + - role: "hostname" + - role: "network" + - role: "user" + - role: "ssh" + - role: "password_policy" + +- name: "Configure" + hosts: "archlinux" + gather_facts: true + environment: + PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" + vars: + ansible_become_method: su locales: - "en_US.UTF-8 UTF-8" timezone: "GMT" @@ -24,11 +38,6 @@ firefox_install_browserpass: true firefox_install_passff: true roles: - - role: "hostname" - - role: "network" - - role: "user" - - role: "ssh" - - role: "password_policy" - role: "locales" - role: "timezone" - role: "jq" |
