container.yml 265 B

1234567891011
  1. - hosts: local
  2. tasks:
  3. - name: Create a started container
  4. lxc_container:
  5. name: test-container-started2
  6. container_log: true
  7. template: ubuntu
  8. state: started
  9. template_options: --release trusty
  10. become: yes
  11. become_user: root