provisioning, test went well, refactor the rest of the file.
This commit is contained in:
@@ -22,12 +22,11 @@
|
|||||||
|
|
||||||
## General ##
|
## General ##
|
||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | General | Create | Basic Options
|
- name: General | Account Management | Provisioning Configuration | General | Create
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ gen_file }}"
|
path: "{{ gen_file }}"
|
||||||
marker: '; {mark} MANAGED BY ANSIBLE | Generic Config'
|
marker: '; {mark} MANAGED BY ANSIBLE | Generic Config'
|
||||||
block: |
|
block: |
|
||||||
; Please note that all portions require lowercase keys and values.
|
|
||||||
[global]
|
[global]
|
||||||
;;;;;;;;;;;;;;;;;;;; Basic Options ;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Basic Options ;;;;;;;;;;;;;;;;;;;;
|
||||||
;
|
;
|
||||||
@@ -50,6 +49,7 @@
|
|||||||
; nmap is already provided for reporting
|
; nmap is already provided for reporting
|
||||||
; Default: false
|
; Default: false
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
@@ -85,6 +85,7 @@
|
|||||||
; Example: Ansible, ansible-setup, my-env
|
; Example: Ansible, ansible-setup, my-env
|
||||||
; Default: env-ansible
|
; Default: env-ansible
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
@@ -111,6 +112,7 @@
|
|||||||
; Example: /usr/local/swap
|
; Example: /usr/local/swap
|
||||||
; Default: /swapfile
|
; Default: /swapfile
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
@@ -132,6 +134,7 @@
|
|||||||
; Slows down the rate of services such as telegraf and cron.
|
; Slows down the rate of services such as telegraf and cron.
|
||||||
; Default: false
|
; Default: false
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
@@ -184,6 +187,7 @@
|
|||||||
; Example: /srv/sftp/
|
; Example: /srv/sftp/
|
||||||
; Default: /srv/sftp/
|
; Default: /srv/sftp/
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
@@ -249,11 +253,13 @@
|
|||||||
|
|
||||||
## Workstation ##
|
## Workstation ##
|
||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | Workstation | Create
|
- name: General | Account Management | Provisioning Configuration | Workstation | Create | Main Options
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ wrk_file }}"
|
path: "{{ wrk_file }}"
|
||||||
|
marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config'
|
||||||
block: |
|
block: |
|
||||||
;;;;;;; Available options - all require lowercase values ;;;;;;
|
[global]
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;; Main Options ;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;
|
;
|
||||||
; enable : Set to true for system to be considered a workstation.
|
; enable : Set to true for system to be considered a workstation.
|
||||||
;
|
;
|
||||||
@@ -268,6 +274,19 @@
|
|||||||
;
|
;
|
||||||
; gaming : Set to true for installation of gaming software (Steam, Lutris)
|
; gaming : Set to true for installation of gaming software (Steam, Lutris)
|
||||||
;
|
;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
state: present
|
||||||
|
create: true
|
||||||
|
backup: true
|
||||||
|
mode: "0644"
|
||||||
|
|
||||||
|
- name: General | Account Management | Provisioning Configuration | Workstation | Create | Other Options
|
||||||
|
ansible.builtin.blockinfile:
|
||||||
|
path: "{{ wrk_file }}"
|
||||||
|
marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config | Other Options'
|
||||||
|
block: |
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;; Other Options ;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;
|
||||||
; rdp : Set to true for installation of RDP protocol
|
; rdp : Set to true for installation of RDP protocol
|
||||||
; CURRENTLY FREEBSD-ONLY
|
; CURRENTLY FREEBSD-ONLY
|
||||||
;
|
;
|
||||||
@@ -283,11 +302,11 @@
|
|||||||
; redmode : Set to true/false for automatially using Night Light in GNOME.
|
; redmode : Set to true/false for automatially using Night Light in GNOME.
|
||||||
; Default: true
|
; Default: true
|
||||||
;
|
;
|
||||||
[global]
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config'
|
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
|
mode: "0644"
|
||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | Workstation | Load
|
- name: General | Account Management | Provisioning Configuration | Workstation | Load
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
@@ -329,6 +348,7 @@
|
|||||||
# ansible.builtin.blockinfile:
|
# ansible.builtin.blockinfile:
|
||||||
# path: "{{ mnr_file }}"
|
# path: "{{ mnr_file }}"
|
||||||
# block: |
|
# block: |
|
||||||
|
# [global]
|
||||||
# ;;;;;;; Available options - all require lowercase values ;;;;;;
|
# ;;;;;;; Available options - all require lowercase values ;;;;;;
|
||||||
# ;
|
# ;
|
||||||
# ; enable : Set to true for system to be considered a miner.
|
# ; enable : Set to true for system to be considered a miner.
|
||||||
@@ -364,11 +384,12 @@
|
|||||||
# ; xmr_stak_cpu : Set to true for istallation
|
# ; xmr_stak_cpu : Set to true for istallation
|
||||||
# ; UNFINISHED/UNTESTED
|
# ; UNFINISHED/UNTESTED
|
||||||
# ;
|
# ;
|
||||||
# [global]
|
# ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
# marker: '; {mark} MANAGED BY ANSIBLE | Miner Config'
|
# marker: '; {mark} MANAGED BY ANSIBLE | Miner Config'
|
||||||
# state: present
|
# state: present
|
||||||
# create: true
|
# create: true
|
||||||
# backup: true
|
# backup: true
|
||||||
|
# mode: "0644"
|
||||||
#
|
#
|
||||||
#- name: General | Account Management | Provisioning Configuration | Miner | Load
|
#- name: General | Account Management | Provisioning Configuration | Miner | Load
|
||||||
# ansible.builtin.set_fact:
|
# ansible.builtin.set_fact:
|
||||||
@@ -408,7 +429,9 @@
|
|||||||
- name: General | Account Management | Provisioning Configuration | Server | Create
|
- name: General | Account Management | Provisioning Configuration | Server | Create
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ srv_file }}"
|
path: "{{ srv_file }}"
|
||||||
|
marker: '; {mark} MANAGED BY ANSIBLE | Server Config'
|
||||||
block: |
|
block: |
|
||||||
|
[global]
|
||||||
;;;;;;; Parameters ;;;;;;
|
;;;;;;; Parameters ;;;;;;
|
||||||
;
|
;
|
||||||
; enable : Set to true for system to be considered a server.
|
; enable : Set to true for system to be considered a server.
|
||||||
@@ -433,11 +456,10 @@
|
|||||||
; hugo : Set to true to install HUGO static website generator.
|
; hugo : Set to true to install HUGO static website generator.
|
||||||
;
|
;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
[global]
|
|
||||||
marker: '; {mark} MANAGED BY ANSIBLE | Server Config'
|
|
||||||
state: present
|
state: present
|
||||||
create: true
|
create: true
|
||||||
backup: true
|
backup: true
|
||||||
|
mode: "0644"
|
||||||
|
|
||||||
- name: General | Account Management | Provisioning Configuration | Server | Load
|
- name: General | Account Management | Provisioning Configuration | Server | Load
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
|||||||
Reference in New Issue
Block a user