1 2 3 4 5 6 7 8 9 10 11 12 13 14
- hosts: all tasks: - name: clone content repository git: repo: '{{ archive_services_repo_url }}' dest: '/home/www' accept_hostkey: yes version: master update: no become: yes become_user: nobody notify: - restart apache2