mirror of
https://github.com/krislamo/pup-tests
synced 2024-11-14 10:30:35 +00:00
Kris Lamoureux
7f818e3c31
Ansible sets up a puppet master and puppet agent on two virtual machines with a hello world puppet application.
15 lines
293 B
YAML
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
|
|
|