Formatting fixes, and make sure everything works in --check mode.
This commit is contained in:
parent
04314cb755
commit
e2d8a2f9f6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*.vagrant
|
*.vagrant
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
*.retry
|
||||||
|
|||||||
@ -16,7 +16,7 @@ This is a work in progress, and is mostly a means for me to document my current
|
|||||||
2. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
|
2. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
|
||||||
3. Clone this repository to your local drive.
|
3. Clone this repository to your local drive.
|
||||||
4. Run the command `$ ansible-galaxy install -r requirements.txt` inside this directory to install required Ansible roles.
|
4. Run the command `$ ansible-galaxy install -r requirements.txt` inside this directory to install required Ansible roles.
|
||||||
5. Run `ansible-playbook main.yml -i inventory -u [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username.
|
5. Run `ansible-playbook main.yml -i inventory -u [username] -U [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username). Enter your account password when prompted.
|
||||||
|
|
||||||
## Included Applications / Configuration
|
## Included Applications / Configuration
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
file:
|
file:
|
||||||
path: /etc/ansible
|
path: /etc/ansible
|
||||||
state: directory
|
state: directory
|
||||||
sudo: yes
|
become: yes
|
||||||
|
|
||||||
- name: Symlink /usr/local/etc/ansible to /etc/ansible.
|
- name: Symlink /usr/local/etc/ansible to /etc/ansible.
|
||||||
file:
|
file:
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
shell: defaults read com.apple.terminal 'Default Window Settings'
|
shell: defaults read com.apple.terminal 'Default Window Settings'
|
||||||
register: terminal_theme
|
register: terminal_theme
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
always_run: yes
|
||||||
|
|
||||||
- name: Ensure custom Terminal profile is added.
|
- name: Ensure custom Terminal profile is added.
|
||||||
shell: open files/terminal/JJG-Term.terminal
|
shell: open files/terminal/JJG-Term.terminal
|
||||||
@ -26,7 +27,7 @@
|
|||||||
dest: /etc/sudoers
|
dest: /etc/sudoers
|
||||||
mode: 0440
|
mode: 0440
|
||||||
validate: 'visudo -cf %s'
|
validate: 'visudo -cf %s'
|
||||||
sudo: yes
|
become: yes
|
||||||
when: configure_sudoers
|
when: configure_sudoers
|
||||||
|
|
||||||
# TODO: Configure Sublime Text (see templates/sublime/*).
|
# TODO: Configure Sublime Text (see templates/sublime/*).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user