1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

9 core roles check their vars + 3 roles record to iiab_state.yml

This commit is contained in:
root 2020-09-22 01:04:06 -04:00
parent 624fb68596
commit d87821d266
37 changed files with 737 additions and 416 deletions

View file

@ -9,3 +9,16 @@
- { src: 'iiab_const.py.j2', dest: '{{ py3_dist_path }}/iiab/iiab_const.py' }
- { src: 'iiab_lib.py', dest: '{{ py3_dist_path }}/iiab/iiab_lib.py' }
- { src: 'iiab_env.py.j2', dest: '{{ iiab_etc_path }}/iiab_env.py' }
# RECORD pylibs AS INSTALLED
- name: "Set 'pylibs_installed: True'"
set_fact:
pylibs_installed: True
- name: "Add 'pylibs_installed: True' to {{ iiab_state_file }}"
lineinfile:
path: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
regexp: '^pylibs_installed'
line: 'pylibs_installed: True'