mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
ed1eda9ede
4 changed files with 4 additions and 12 deletions
|
@ -1,5 +1,2 @@
|
|||
- name: Create IIAB directory structure
|
||||
include_tasks: fl.yml
|
||||
|
||||
- name: Create {{ iiab_ini_file }}
|
||||
include_tasks: iiab_ini.yml
|
||||
|
|
|
@ -16,12 +16,6 @@
|
|||
path: /etc/iiab/uuid
|
||||
register: uuid_file
|
||||
|
||||
- name: If not, create folder /etc/iiab
|
||||
file:
|
||||
path: /etc/iiab
|
||||
state: directory
|
||||
when: not uuid_file.stat.exists
|
||||
|
||||
- name: If no uuid exists, create one
|
||||
shell: uuidgen
|
||||
register: uuid_response
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- name: Create 21 directories with ownership root:root and permissions 0755 (3 in /etc, 3 in {{ iiab_base }} and 15 in /library) # iiab_base is /opt/iiab
|
||||
- name: Create 19 directories with ownership root:root and permissions 0755 (1 in /etc, 3 in {{ iiab_base }} and 15 in /library) # iiab_base is /opt/iiab
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
owner: root
|
||||
|
@ -6,8 +6,6 @@
|
|||
mode: 0755
|
||||
state: directory
|
||||
with_items:
|
||||
- /etc/iiab
|
||||
- /etc/sysconfig/olpc-scripts/
|
||||
- /etc/sysconfig/olpc-scripts/setup.d/installed/
|
||||
- "{{ yum_packages_dir }}"
|
||||
- "{{ pip_packages_dir }}"
|
|
@ -3,6 +3,9 @@
|
|||
- name: ...IS BEGINNING ==========================================
|
||||
command: echo
|
||||
|
||||
- name: Create IIAB directory structure
|
||||
include_tasks: fl.yml
|
||||
|
||||
- include_tasks: centos.yml
|
||||
when: ansible_distribution == "CentOS"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue