Changeset - aaab9c5c3eb1
[Not reviewed]
0 1 5
Branko Majic (branko) - 9 years ago 2015-03-08 11:20:55
branko@majic.rs
MAR-7: Added playbook for setting-up preseed files. Added small Ansible configuration file in order to easily locate the roles. Added preseed file configuration for LDAP server.
6 files changed with 31 insertions and 0 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
 
@@ -2,3 +2,4 @@
 
*~
 
tmp/
 
docs/_build/
 
testsite/preseed_files/
 
\ No newline at end of file
testsite/ansible.cfg
Show inline comments
 
new file 100644
 
[defaults]
 

	
 
roles_path=../roles
testsite/group_vars/preseed.yml
Show inline comments
 
new file 100644
 
---
 

	
 
preseed_directory: ../preseed_files
 

	
 
preseed_servers:
 
  - name: ldap.example.com
 
    language: en
 
    country: SE
 
    locale: en_US.UTF-8
 
    keymap: us
 
    network_interface: eth0
 
    network_auto: yes
 
    mirror_hostname: ftp.se.debian.org
 
    mirror_directory: /debian
 
    mirror_proxy: ""
 
    root_password: root
 
    timezone: Europe/Stockholm
 
\ No newline at end of file
testsite/hosts
Show inline comments
 
new file 100644
 
[preseed]
 
localhost ansible_connection=local
testsite/playbooks/preseed.yml
Show inline comments
 
new file 100644
 
---
 
# Playbook for generating Debian preseed files for automating the installation.
 
- hosts: preseed
 
  roles:
 
    - preseed
 
\ No newline at end of file
testsite/playbooks/site.yml
Show inline comments
 
new file 100644
 
---
 

	
 
- include: preseed.yml
0 comments (0 inline, 0 general)