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

35 tasks/*.yml writing to iiab_state.yml

This commit is contained in:
root 2020-01-12 17:06:24 -05:00
parent 85bd6ec55b
commit bd915fcdae
30 changed files with 90 additions and 113 deletions

View file

@ -81,3 +81,10 @@
path: /usr/local/kalite/venv/local/lib/python2.7/site-packages/kalite/packages/dist/ifcfg/parser.py
regexp: 'a-zA-Z0-9'
replace: 'a-zA-Z0-9\-'
# SHOULD REALLY BE HERE...but for now this runs in kalite/tasks/setup.yml
# - name: "Add 'kalite_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
# lineinfile:
# dest: "{{ iiab_state_file }}"
# regexp: '^kalite_installed'
# line: 'kalite_installed: True'

View file

@ -3,9 +3,9 @@
- name: Create {{ kalite_root }} directory
file:
path: "{{ kalite_root }}/httpsrv/static" # /library/ka-lite
owner: root
group: root
mode: 0755
# owner: root
# group: root
# mode: 0755
state: directory
- name: Run the setup using 'kalite manage'
@ -15,9 +15,9 @@
async: 1800
poll: 10
# CAN WE MOVE THIS TO THE END OF kalite/tasks/install.yml (HENCE ITS FILENAME!)
- name: "Add 'kalite_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
lineinfile:
dest: "{{ iiab_state_file }}"
regexp: '^kalite_installed'
line: 'kalite_installed: True'
state: present