Ansible, DevOps, Uncategorized

[Ansible] local_action on 127.0.0.1 aka local_hosts

Ansible allows to execute task on the local machine that launch ansible

for do that use the module local_action:

- name: local authorized key
  local_action: shell cat ~/.ssh/id_rsa.pub
  register: local_auth_key
  sudo: false

be very careful to always use sudo: false, because without this, ansible will try to run the command as sudo, and if the local user requires the use of the password, the task will fail.

Link:

Annunci
Ansible, DevOps, Uncategorized

[Ansible] Resources, Tutorials, examples

Uncategorized

[thucydides] tutorial – example & helpful resources

Uncategorized

[mtasc] type error class not found :

There are many articles related to this type of error.

In my case, unfortunately, it was easier (because i lost a day to resolve).

The project was present in a folder like this:

C:\Users\Morales\Documents\repo_progetti\PROMaster\new_branches\abc-gp-4.3-release\abc-gp-reference-games\abc-single-player-games\1234567890\clients_xxx\my_game_flash

However, when this was brought into a project like this:

C:\Development\PROMaster\new_branches\abc-gp-4.3-release\abc-gp-reference-games\abc-single-player-games\1234567890\clients_xxx\my_game_flash

The problem  disappeared 

I think it is due to the path that becomes too large because there are still folders inside windows and then fails to run as it should.