- hosts: local tasks: - name: Create a started container lxc_container: name: test-container-started2 container_log: true template: ubuntu state: started template_options: --release trusty become: yes become_user: root