summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/become.yml
blob: ce53f56691db2a0a06ec70276b2ce4ffd930f37b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: Fixture
  hosts: all
  tasks:
    - name: Clone content repository
      ansible.builtin.git:
        repo: "{{ archive_services_repo_url }}"
        dest: /home/www
        accept_hostkey: true
        version: master
        update: false
      become: true
      become_user: nobody
      notify:
        - restart apache2