Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.
This repository was archived by the owner on May 12, 2023. It is now read-only.

Ants log file should update in real time #17

@knightsc

Description

@knightsc

After the ANTS Framework is first installed I touch the run now file to kick off an initial run. I then go and tail /var/log/ants/ants.log and get the following:

Jul 19 2018 14:29:32 EDT	Starting Ansible Pull at 2018-07-19 14:29:32
Jul 19 2018 14:29:32 EDT	/Library/ANTS-Framework/bin/ansible-pull --clean -f -i /var/root/.ants_playbook/hosts -d /var/root/.ants_playbook -U repo.git -C branch site.yml --private-key /etc/ants/id_ants

And the log just stays like that 13 minutes. My playbook uses the macos_profile ANTs role and during this time I can see the profiles installed one by one in system preferences. Finally after the run is finished the ants.log file show the output for the rest of the run.

Jul 19 2018 14:43:15 EDT	<host> | SUCCESS => {
Jul 19 2018 14:43:15 EDT	    "after": "27a58dd9f5545a072be45d0d496f8d4b8d90e28d",
Jul 19 2018 14:43:15 EDT	    "before": "27a58dd9f5545a072be45d0d496f8d4b8d90e28d",
Jul 19 2018 14:43:15 EDT	    "changed": false,
Jul 19 2018 14:43:15 EDT	    "remote_url_changed": false
Jul 19 2018 14:43:15 EDT	}

I briefly discussed this in the #ansible channel in MacAdmins slack here: https://macadmins.slack.com/archives/C06G3E39P/p1528319226000036

I didn't get a chance to look into it in more detail then so creating this issue so I can take another look.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions