1
0
mirror of https://github.com/krislamo/pup-tests synced 2024-11-14 10:30:35 +00:00
pup-tests/setup/roles/common/tasks/main.yml
Kris Lamoureux 7f818e3c31 Setup Puppet Environment
Ansible sets up a puppet master and puppet agent on two virtual
machines with a hello world puppet application.
2019-01-09 15:48:17 -05:00

15 lines
293 B
YAML

# vi uses elvis-tiny on Debian. vim is better.
- name: Install VIM
apt: name=vim state=present
- name: Lock Puppet Version
template:
src: 00-puppet.pref.j2
dest: /etc/apt/preferences.d/00-puppet.pref
- name: Deploy hosts file
template:
src: hosts.j2
dest: /etc/hosts