Releases: CSCfi/ansible-role-puppetize
Releases · CSCfi/ansible-role-puppetize
2019-10-31
Move environment to [agent] (#15) This makes "puppet facts" command work on agents
2019-10-22
Optionally use a proxy to yum install repo (#14) * Optionally use a proxy to yum install repo * Make the puppetlabs_repo_url a list In case one wants to install more than one repo as part of this.
2019-10-17
Merge pull request #12 from CSCfi/CCCP-1278-B Support both Puppet 3 and Puppet4 clients
2019-07-24
Merge pull request #10 from CSCfi/CCCP-2827 Only get ansible_date_time from puppetmaster facts
2019-07-17
Don't check time when puppet_run_only == True (#9) * Don't check time when puppet_run_only == True * Also only check time if all variables are there
2019-07-16
Fail early if time is behind on agent (#8)
* Fail early if time is behind on agent
Let's say time is out of sync on the node to be puppetized and
it's 11:23 while on the puppetmaster it's in sync and it's 12:23.
The certificate request generated by puppet-agent will be from
11:23 but the CA on the puppetmaster will generate a certificate that is valid
from 12:23.
This PR avoids creating a certificate request on the puppet agent because
fixing this means fixing time, removing on the agent and revoking the
certificate on the puppetmaster.
If there's longer than 60 seconds between gathering facts of the node to be
puppetized and the task in this role that gets the time from the
puppetmaster, then the new variable {{ puppetize_time_difference }} may increased.
* Use correct remote_user for puppetize