Merge "tasks: Set systemd installation prefix"
This commit is contained in:
commit
43a2df281a
@ -65,8 +65,8 @@
|
||||
# the following ML post resolves the bug.
|
||||
# * https://lists.freedesktop.org/archives/systemd-devel/2015-March/029151.html
|
||||
- name: Move machined service into place
|
||||
copy:
|
||||
src: systemd-machined.service
|
||||
template:
|
||||
src: systemd-machined.service.j2
|
||||
dest: /etc/systemd/system/systemd-machined.service
|
||||
register: machined_unit
|
||||
when:
|
||||
|
@ -13,7 +13,7 @@ Wants=machine.slice
|
||||
After=machine.slice
|
||||
|
||||
[Service]
|
||||
ExecStart=/lib/systemd/systemd-machined
|
||||
ExecStart={{ systemd_utils_prefix }}/systemd-machined
|
||||
BusName=org.freedesktop.machine1
|
||||
CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_CHOWN CAP_FOWNER CAP_FSETID
|
||||
WatchdogSec=3min
|
@ -14,6 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
system_config_dir: "/etc/sysconfig"
|
||||
systemd_utils_prefix: "/lib/systemd"
|
||||
|
||||
# Required rpm packages.
|
||||
lxc_hosts_distro_packages:
|
||||
|
@ -43,6 +43,7 @@ lxc_hosts_distro_packages:
|
||||
lxc_xz_bin: pxz
|
||||
|
||||
system_config_dir: "/etc/default"
|
||||
systemd_utils_prefix: "/lib/systemd"
|
||||
lxc_cache_map:
|
||||
distro: ubuntu
|
||||
arch: "{{ lxc_architecture_mapping.get( ansible_architecture ) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user