initial commit
This commit is contained in:
39
roles/gantsign.oh-my-zsh/molecule/default/playbook.yml
Normal file
39
roles/gantsign.oh-my-zsh/molecule/default/playbook.yml
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
|
||||
pre_tasks:
|
||||
- name: create test users
|
||||
become: yes
|
||||
user:
|
||||
name: '{{ item }}'
|
||||
home: '/home/{{ item }}'
|
||||
createhome: yes
|
||||
with_items:
|
||||
- test_usr1
|
||||
- test_usr2
|
||||
|
||||
- name: install console-setup file
|
||||
become: yes
|
||||
copy:
|
||||
src: tests/console-setup.sh
|
||||
dest: /etc/default/console-setup
|
||||
force: no
|
||||
owner: root
|
||||
group: root
|
||||
mode: 'u=rwx,go=r'
|
||||
|
||||
roles:
|
||||
- role: ansible-role-oh-my-zsh
|
||||
oh_my_zsh_theme: test_theme1
|
||||
oh_my_zsh_plugins:
|
||||
- test_plugin1
|
||||
- test_plugin2
|
||||
users:
|
||||
- username: test_usr1
|
||||
- username: test_usr2
|
||||
oh_my_zsh:
|
||||
theme: test_theme2
|
||||
plugins:
|
||||
- test_plugin3
|
||||
- test_plugin4
|
Reference in New Issue
Block a user