Skip to content

Instantly share code, notes, and snippets.

@akusei
Created January 10, 2024 20:26
Show Gist options
  • Save akusei/cb469e816f6bb605ed9870f212679538 to your computer and use it in GitHub Desktop.
Save akusei/cb469e816f6bb605ed9870f212679538 to your computer and use it in GitHub Desktop.
ansible.cfg for packer build
[defaults]
roles_path = galaxy_roles
deprecation_warnings = False
gather_timeout=120
timeout=120
# Vagrant boxes may be rebuild often
host_key_checking = False
# Vagrant box ubuntu user
remote_user = ubuntu
sudo_user = root
ask_become_pass = False
# Homage to Clarus
cow_selection = random
nocows = 1
[privilege_escalation]
become = yes
become_method = sudo
become_user = root
[ssh_connection]
pipelining = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment