summaryrefslogtreecommitdiffstats
path: root/site.yml
blob: 7f9a4745cf79d7ae865ed229ddf2a6b049a27332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
- name: "Bootstrap"
  gather_facts: true
  tags: ["required_for_boot"]
  hosts: all
  roles:
    - role: "hostname"
    - role: "network"
    - role: "user"
    - role: "ssh"
    - role: "password_policy"
  pre_tasks:
    - name: "Update package cache"
      become: true
      ansible.builtin.package:
        update_cache: true
      async: 60
      poll: 5
      failed_when: false

- name: "Host Configure"
  ansible.builtin.import_playbook: "configure.yml"

- name: "Service Configure"
  ansible.builtin.import_playbook: "service.yml"