diff --git a/tasks/general/acct_mgmt/provision_config.yml b/tasks/general/acct_mgmt/provision_config.yml index 3318ccf..5a6b0c1 100644 --- a/tasks/general/acct_mgmt/provision_config.yml +++ b/tasks/general/acct_mgmt/provision_config.yml @@ -22,12 +22,11 @@ ## General ## -- name: General | Account Management | Provisioning Configuration | General | Create | Basic Options +- name: General | Account Management | Provisioning Configuration | General | Create ansible.builtin.blockinfile: path: "{{ gen_file }}" marker: '; {mark} MANAGED BY ANSIBLE | Generic Config' block: | - ; Please note that all portions require lowercase keys and values. [global] ;;;;;;;;;;;;;;;;;;;; Basic Options ;;;;;;;;;;;;;;;;;;;; ; @@ -50,6 +49,7 @@ ; nmap is already provided for reporting ; Default: false ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true @@ -85,6 +85,7 @@ ; Example: Ansible, ansible-setup, my-env ; Default: env-ansible ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true @@ -111,6 +112,7 @@ ; Example: /usr/local/swap ; Default: /swapfile ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true @@ -132,6 +134,7 @@ ; Slows down the rate of services such as telegraf and cron. ; Default: false ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true @@ -184,6 +187,7 @@ ; Example: /srv/sftp/ ; Default: /srv/sftp/ ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true @@ -249,11 +253,13 @@ ## Workstation ## -- name: General | Account Management | Provisioning Configuration | Workstation | Create +- name: General | Account Management | Provisioning Configuration | Workstation | Create | Main Options ansible.builtin.blockinfile: path: "{{ wrk_file }}" + marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config' block: | - ;;;;;;; Available options - all require lowercase values ;;;;;; + [global] + ;;;;;;;;;;;;;;;;;;;;;;;;;; Main Options ;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; 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) ; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + 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 ; CURRENTLY FREEBSD-ONLY ; @@ -283,11 +302,11 @@ ; redmode : Set to true/false for automatially using Night Light in GNOME. ; Default: true ; - [global] - marker: '; {mark} MANAGED BY ANSIBLE | Workstation Config' + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; state: present create: true backup: true + mode: "0644" - name: General | Account Management | Provisioning Configuration | Workstation | Load ansible.builtin.set_fact: @@ -329,6 +348,7 @@ # ansible.builtin.blockinfile: # path: "{{ mnr_file }}" # block: | +# [global] # ;;;;;;; Available options - all require lowercase values ;;;;;; # ; # ; enable : Set to true for system to be considered a miner. @@ -364,11 +384,12 @@ # ; xmr_stak_cpu : Set to true for istallation # ; UNFINISHED/UNTESTED # ; -# [global] +# ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; # marker: '; {mark} MANAGED BY ANSIBLE | Miner Config' # state: present # create: true # backup: true +# mode: "0644" # #- name: General | Account Management | Provisioning Configuration | Miner | Load # ansible.builtin.set_fact: @@ -408,7 +429,9 @@ - name: General | Account Management | Provisioning Configuration | Server | Create ansible.builtin.blockinfile: path: "{{ srv_file }}" + marker: '; {mark} MANAGED BY ANSIBLE | Server Config' block: | + [global] ;;;;;;; Parameters ;;;;;; ; ; 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. ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - [global] - marker: '; {mark} MANAGED BY ANSIBLE | Server Config' state: present create: true backup: true + mode: "0644" - name: General | Account Management | Provisioning Configuration | Server | Load ansible.builtin.set_fact: