Lots of updated roles
This commit is contained in:
@@ -1,10 +1,24 @@
|
||||
# Copy profiles to /etc/profile.d/
|
||||
# Templates messes up a lot of back scripts (errors on odd chars)
|
||||
# So copy all files/bin/* using COPY
|
||||
- name: Copying profiles to /etc/profile.d
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: /etc/profile.d/
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
mode: '0755'
|
||||
with_fileglob:
|
||||
- profile.d/*
|
||||
- files/profile.d/*
|
||||
|
||||
# Template and copy profiles to /etc/profile.d/
|
||||
# Careful here, as some script can mess up the template system (jinja2)
|
||||
- name: Copy templated profiles to /etc/profile.d/
|
||||
template:
|
||||
src: "{{ item }}"
|
||||
dest: /etc/profile.d/
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
with_fileglob:
|
||||
- templates/profile.d/*
|
||||
|
||||
@@ -1,10 +1,24 @@
|
||||
# Copy scripts to /usr/local/bin
|
||||
# Templates messes up a lot of back scripts (errors on odd chars)
|
||||
# So copy all files/bin/* using COPY
|
||||
- name: Copying scripts to /usr/local/bin
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: /usr/local/bin/
|
||||
owner: toor
|
||||
group: staff
|
||||
mode: 0775
|
||||
owner: '{{ superuser }}'
|
||||
group: '{{ supergroup }}'
|
||||
mode: '0775'
|
||||
with_fileglob:
|
||||
- bin/*
|
||||
- files/bin/*
|
||||
|
||||
# Template and copy scripts to /usr/local/bin
|
||||
# Careful here, as some script can mess up the template system (jinja2)
|
||||
- name: Copy templated scripts to /usr/local/bin
|
||||
template:
|
||||
src: "{{ item }}"
|
||||
dest: /usr/local/bin/
|
||||
owner: '{{ superuser }}'
|
||||
group: '{{ supergroup }}'
|
||||
mode: '0775'
|
||||
with_fileglob:
|
||||
- templates/bin/*
|
||||
|
||||
Reference in New Issue
Block a user