Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
259 B

  1. ---
  2. - name: 'restart container'
  3. lxc_container:
  4. name: '{{ vm_name }}'
  5. state: 'restarted'
  6. register: container_restart
  7. - name: 'systemd daemon-reload'
  8. systemd:
  9. daemon_reload: true
  10. delegate_to: '{{ vm_name }}'
  11. connection: 'ssh_lxc'
  12. ...