ylogx/dotfiles

[WARNING]: Could not match supplied host pattern, ignoring: fleet_osx

aktech opened this issue · 6 comments

➜  dotfiles git:(include_tasks) ./install.sh
Running playbook for osx os.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
 [WARNING]: Could not match supplied host pattern, ignoring: fleet_osx


PLAY [fleet_osx] *****************************************************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************

Please update git credential to your email address now
Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
ylogx commented

Similar fix in osx.yml should take care of this: https://github.com/shubhamchaudhary/dotfiles/blob/59d2efe0baaf21fb8a43666c6c86c39787b38673/playbooks/unix.yml#L2-L3
Please feel free to submit a PR :)

Similar fix in osx.yml should take care of this:

Doesn't seems like. Same issue even after changing the fleet_osx to all in osx.yml

ylogx commented

Pushed a fix in 1fabf3c. I'm able to verify the fix on my system.
Please reopen if it doesn't work on your system.

Still doesn't works:

➜  dotfiles git:(master) ./install.sh
Running playbook for osx os.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
 [WARNING]: Could not match supplied host pattern, ignoring: fleet_osx


PLAY [fleet_osx] *****************************************************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************

Please update git credential to your email address now
Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
ylogx commented

Ah, yes it works now, I didn't realized that the dotfiles repo is used from ~/.homesick/repos/dotfiles. Thanks!