summaryrefslogtreecommitdiffstats
path: root/molecule/debian
diff options
context:
space:
mode:
Diffstat (limited to 'molecule/debian')
-rw-r--r--molecule/debian/converge.yml23
1 files changed, 16 insertions, 7 deletions
diff --git a/molecule/debian/converge.yml b/molecule/debian/converge.yml
index d20932fc..7d06f734 100644
--- a/molecule/debian/converge.yml
+++ b/molecule/debian/converge.yml
@@ -1,6 +1,6 @@
---
-- name: Converge
- hosts: debian
+- name: "Bootstrap"
+ hosts: "debian"
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: "debian"
+ 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"
@@ -35,11 +49,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"