60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
|
---
|
||
|
|
||
|
- hosts: "{{ ip_addr }}"
|
||
|
become: yes
|
||
|
become_method: sudo
|
||
|
gather_facts: yes
|
||
|
|
||
|
tasks:
|
||
|
|
||
|
- name: "[CREATE AWX-USER] Create awx user and config ssh-key"
|
||
|
import_role:
|
||
|
name: create-awx-user-and-config
|
||
|
tags: awx-user_config
|
||
|
|
||
|
- name: "[HARDNENING] Configure SSH root user"
|
||
|
import_role:
|
||
|
name: hardnening-config-root-user
|
||
|
tags: hardnening-config-root_config
|
||
|
|
||
|
- name: "[BASE CONFIG] Configure debian os"
|
||
|
import_role:
|
||
|
name: base-config-debian-os
|
||
|
tags: base-os_config
|
||
|
|
||
|
- name: "[GUEST SIDE] Install guest side"
|
||
|
import_role:
|
||
|
name: server-type
|
||
|
tags: server-type_config
|
||
|
|
||
|
- name: "[CONFIG REPOS] Add-repos-vn"
|
||
|
import_role:
|
||
|
name: add-repos-vn
|
||
|
tags: add-repos-vn_config
|
||
|
|
||
|
- name: "[CONFIG VIM] Configure vim options"
|
||
|
import_role:
|
||
|
name: vim-options
|
||
|
tags: vim-options_config
|
||
|
|
||
|
- name: "[CONFIG BASHRC] Configure bashrc"
|
||
|
import_role:
|
||
|
name: configure-bashrc
|
||
|
tags: configure-bashrc_config
|
||
|
|
||
|
- name: "[CONFIG USRMERGE] Configure usrmerge"
|
||
|
import_role:
|
||
|
name: configure-usrmerge
|
||
|
tags: configure-usrmerge_config
|
||
|
|
||
|
handlers:
|
||
|
- include_tasks: roles/{{ item }}/handlers/main.yaml
|
||
|
with_items:
|
||
|
- create-awx-user-and-config
|
||
|
- hardnening-config-root-user
|
||
|
- base-config-debian-os
|
||
|
- server-type
|
||
|
- add-repos-vn
|
||
|
- vim-options
|
||
|
- configure-bashrc
|
||
|
- configure-usrmerge
|