Skip to content

Commit

Permalink
Rewrite wrapper script (#94)
Browse files Browse the repository at this point in the history
Rewrite the Ansible wrapper script in Python to allow the user to select
which courses they need to have their machine configured for. Enable
logging by specifying a path in ansible.cfg. Remove previous wrappers
and installed desktop shortcuts in favor of the new wrapper
  • Loading branch information
laurelmay authored and ripleymj committed Jan 7, 2018
1 parent db83ac0 commit 66524f4
Show file tree
Hide file tree
Showing 8 changed files with 374 additions and 70 deletions.
1 change: 1 addition & 0 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[defaults]
nocows=1
log_path=/opt/vmtools/logs/last_run.log
5 changes: 5 additions & 0 deletions roles/oem/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
path: /etc/skel/Desktop
state: directory
mode: 0750
- name: Ensure log directory exists
file:
path: /opt/vmtools/logs
state: directory
mode: 0755
- name: Copy welcome shortcut to skeleton desktop directory
copy:
src: welcome-to-vm.desktop
Expand Down
50 changes: 0 additions & 50 deletions roles/task-shortcuts/files/uug-ansible-wrapper

This file was deleted.

Loading

0 comments on commit 66524f4

Please sign in to comment.