Skip to content

Commit

Permalink
Merge pull request #12 from grycap/devel
Browse files Browse the repository at this point in the history
Minor change to update to Ansible newer versions
  • Loading branch information
micafer committed Mar 10, 2016
2 parents b6dcaf4 + df94009 commit 4aa1827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IM/ConfManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ def configure_ansible(self, ssh, tmp_dir):

# Create the ansible inventory file
with open(tmp_dir + "/inventory.cfg", 'w') as inv_out:
inv_out.write(ssh.host + ":" + str(ssh.port) + "\n\n")
inv_out.write("%s ansible_port=%d ansible_ssh_port=%d" % (ssh.host, ssh.port, ssh.port))

shutil.copy(Config.CONTEXTUALIZATION_DIR + "/" + ConfManager.MASTER_YAML, tmp_dir + "/" + ConfManager.MASTER_YAML)

Expand Down

0 comments on commit 4aa1827

Please sign in to comment.