Commit graph

42 commits

Author SHA1 Message Date
Jeff Geerling
acb6eb4d1b Fix linting issue. 2022-03-31 10:37:05 -05:00
BeansIsFat
2f819d61bf
Add tag inheritance to post-provision tasks (#146)
Imported tasks inherit tags but Included tasks don't. This leads to confusion because included tasks need to have an explicit tag added or they won't run.

This is the workaround provided and [documented](https://docs.ansible.com/ansible/latest/user_guide/playbooks_tags.html#tag-inheritance-for-includes-blocks-and-the-apply-keyword) by Ansible to add tag inheritance to included tasks.
2022-03-31 09:40:29 -05:00
Jeff Geerling
8765c23c8b Fixes #119: Remove extraneous Ansible setup tasks. 2021-05-31 14:23:12 -05:00
Jeff Geerling
b3fd01c991 Fixes #116: Switch from roles and dock tasks to geerlingguy.mac collection. 2021-05-30 22:25:53 -05:00
Jeff Geerling
254d657147
Automate Sublime Text configuration (#117)
* sublime text 3

* renamed variable

* sublime text 3

* Update default.config.yml

* PR #110: Update Sublime Text automation so it's a little simpler to configure.

* A couple cosmetic touchups.

* Add Sublime Markdown configuration and fix Package Control install.

* Add a few more Sublime preference files to make the editor work like I like it.

* More Sublime Text automation.

* Saner default for those who don't use Sublime.

* Add remaining tweaks to get Playbook idempotent with Sublime Text.

Co-authored-by: dspolleke <dspolleke@gmail.com>
2021-05-28 23:13:06 -05:00
Jeff Geerling
c6fef3ad23 Fixes #113: Don't skip mas tasks if only app_ids are provided. 2021-05-27 11:31:58 -05:00
Jeff Geerling
6044cd3160
Merge branch 'master' into mytags 2021-05-14 20:47:13 -05:00
Jeff Geerling
f9f2d54e8c PR #106 follow-up: More consistent docs and examples. 2021-05-07 10:26:27 -05:00
dspolleke
beac53608e imclude_tasks are sometimes useful 2021-04-12 19:13:23 +02:00
dspolleke
34cc100e7c fixed it the way GG wants it fixed 2021-04-12 17:43:47 +02:00
dspolleke
6549a14014 requested changes 2021-04-12 17:37:55 +02:00
dspolleke
4dc3e75de2 dock util from https://github.com/enlewof \n Fixed default value for variable, \ncreated block (for tags to work), \nFixed some strong language, \N fixed some shell / command preference (ansible-lint) 2021-04-11 20:44:58 +02:00
Jeff Geerling
9bd4b41a2e Fixes #91: Use updated requirements file format to fix lint error. 2021-02-18 10:26:12 -06:00
Jeff Geerling
3376c1ae1f Fixes #85: Make it easier to use this playbook to manage remote Macs. 2020-10-07 10:24:40 -05:00
newtonne
2a0506bbcc Use absolute rather than relative path for config.yml
The relative path is relative to the files/ directory and so the include
breaks if that directory is deleted.

https://groups.google.com/forum/#!topic/ansible-project/MzSZLYhx5AY

Therefore seems more robust to switch to an absolute path making use of
`playbook_dir`.
2018-09-10 20:59:29 +01:00
Ken Sonoda
5c7857bc89 Fix syntax warnings
instead of
[import_tasks](https://docs.ansible.com/ansible/2.4/import_tasks_module.html#options)
> Any loops, conditionals and most other keywords will be applied
> to the included tasks
2017-12-28 10:11:17 +09:00
Jeff Geerling
1af9802b9b Merge pull request #48 from generoi/issue-36
Issue #36: Add option to install npm/composer/pip/gem packages
2017-06-07 16:40:48 -05:00
Jeff Geerling
489ee9b420 Fixes #42: Add configure_dotfiles variable so you can disable dotfiles management. 2017-06-04 22:29:49 -05:00
Oskar Schöldström
c211d1fdf7 Issue #36: Add option to install npm/composer/pip/gem packages 2017-06-04 16:54:20 -05:00
Jeff Geerling
a26e0c874b Merge branch 'master' into tags 2017-05-31 15:24:45 -05:00
Oskar Schöldström
72fc9b1852 Add ansible tags for the commonly ran tasks 2017-05-31 10:39:42 -05:00
Oskar Schöldström
6fafb251b1 Add support for post-provision tasks 2017-05-31 10:07:42 -05:00
Ben Limmer
fcb39dd9f4
Use mas_installed_apps vs mas_installed_app_ids
The `app_ids` flavor is deprecated: https://github.com/geerlingguy/ansible-role-mas/blob/master/defaults/main.yml#L4
2017-03-12 16:14:13 -06:00
Jeff Geerling
0a07340e9c Fixes #29: Split out custom preferences-related tasks to make them configurable. 2017-02-01 11:52:51 -06:00
Michael Souza
00c62cfd29 Add variables to skip the preferences and OSX configuration tasks 2016-12-30 11:54:14 -05:00
Jeff Geerling
1aad10de63 Fixes #11: Use mas for Mac App Store automation. 2016-12-05 16:08:30 -06:00
Jeff Geerling
602ed0cda0 Issue #25 Follow-up: Fix path to config.yml. 2016-12-01 14:37:52 -06:00
Jeff Geerling
d37612eb63 Fixes #25: Make it easier to override configuration/vars. 2016-11-28 12:07:42 -06:00
Jeff Geerling
8b8227ed93 Make play run on only 127.0.0.1, not 'localhost' also. 2016-09-25 22:50:10 -05:00
Jeff Geerling
04314cb755 Fixes #14: Set user as a CLI flag instead of hardcoding in playbook. 2016-06-14 15:05:48 -05:00
Jeff Geerling
e9c062766a Use geerlingguy.dotfiles role instead of a bunch of custom tasks. 2015-01-02 23:03:17 -06:00
Jeff Geerling
4185bbf63b Split ansible-related config into separate task file. 2014-12-31 14:22:42 -06:00
Jeff Geerling
20420ec155 Issue #2: Add inventory file so playbook can be run in fresh environment. 2014-12-31 09:56:09 -06:00
Jeff Geerling
a7f1046bfd Issue #2: There's no place like home. 2014-12-30 23:14:56 -06:00
Jeff Geerling
1a8177a2b0 Updates to work with updated version of geerlingguy.homebrew role. 2014-12-30 16:14:42 -06:00
Jeff Geerling
8f8ea4a8e5 Completely revamped the playbook. Let homebrew and cask do the hard work. 2014-10-02 23:07:02 -05:00
Jeff Geerling
d592972e9e Updated README, added knock, pckeyboardhack, skype, and updated sublime. 2014-02-13 16:26:10 -06:00
Jeff Geerling
ad92f87f18 Add Sublime settings, dotfiles, and Terminal settings. 2014-02-13 15:39:20 -06:00
Jeff Geerling
3446f1d212 Install Dropbox. 2014-02-13 08:44:52 -06:00
Jeff Geerling
724f9a1cf3 Use creates, add cornerstone, menumeters, nvalt, tower, adium. 2014-02-13 08:37:53 -06:00
Jeff Geerling
8e7f70ff00 Make everything actually work. Another monolithic commit. 2014-02-12 22:33:32 -06:00
Jeff Geerling
c014d21aa4 Change yaml to yml, clean up, update variables. 2014-02-12 21:47:18 -06:00