Skip to content

Commit

Permalink
removes incorrect --limit flag, removes --force flag while debugging,…
Browse files Browse the repository at this point in the history
… adds --full flag to fix git fetch error
  • Loading branch information
discopatrick committed Jul 16, 2016
1 parent be3f00a commit 976b3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ansible_pull_setup/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
cron:
name: ansible-pull action
user: "{{ my_remote_user }}"
job: "ansible-pull --directory {{ workdir }} --url {{ repo_url }} --checkout {{ repo_branch }} --force --inventory-file ansible/hosts/ --limit ansible_pull playbooks/ansible-pull-action.yml >> {{ logfile }} 2>&1"
job: "ansible-pull --directory {{ workdir }} --url {{ repo_url }} --checkout {{ repo_branch }} --inventory-file ./hosts/ --full playbooks/ansible-pull-action.yml >> {{ logfile }} 2>&1"

- name: Create logrotate entry for ansible-pull.log
template:
Expand Down

0 comments on commit 976b3d0

Please sign in to comment.