lxc: copy /etc/profile.d/evolinux.sh from host into container (P10001)
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
This commit is contained in:
parent
af569f8c26
commit
4759ed645c
|
@ -22,6 +22,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
|||
* apache: add tash for enable mailgraph on default vhost and index.html
|
||||
* php: add variables php_version when sury is activated for each Debian version
|
||||
* varnish: add variable varnish_update_config to disable configuration update
|
||||
* lxc: copy /etc/profile.d/evolinux.sh from host into container
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -56,3 +56,15 @@
|
|||
lxc_container:
|
||||
name: "{{ name }}"
|
||||
state: started
|
||||
|
||||
- name: "Ensure /etc/profile.d exists in container"
|
||||
ansible.builtin.file:
|
||||
path: "/var/lib/lxc/{{ name }}/rootfs/etc/profile.d"
|
||||
mode: '0755'
|
||||
state: directory
|
||||
|
||||
- name: "Copy host /etc/profile.d/evolinux into container"
|
||||
ansible.builtin.copy:
|
||||
src: "/etc/profile.d/evolinux.sh"
|
||||
remote_src: true
|
||||
dest: "/var/lib/lxc/{{ name }}/rootfs/etc/profile.d/evolinux.sh"
|
||||
|
|
Loading…
Reference in a new issue