Ansible On Windows

Windows 環境で Ansible を利用できるようにするために、

C:\temp>pip install ansible
Downloading/unpacking ansible
  Running setup.py egg_info for package ansible
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\
setup.py", line 17, in <module>
        from ansible.constants import DEFAULT_MODULE_PATH
      File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\
lib\ansible\constants.py", line 19, in <module>
        import pwd
    ImportError: No module named pwd
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\setu
p.py", line 17, in <module>

    from ansible.constants import DEFAULT_MODULE_PATH

  File "c:\docume~1\yamamu~1\locals~1\temp\pip-build-YourName\ansible\lib\
ansible\constants.py", line 19, in <module>

    import pwd

ImportError: No module named pwd

----------------------------------------
Command python setup.py egg_info failed with error code 1 in c:\docume~1\yamamu~
1\locals~1\temp\pip-build-YourName\ansible
Storing complete log in D:\Users\YourName\pip\pip.log



となる。

Windows 環境で Ansible の利用はあきらめよう。

おすすめは こちら Vagrant と Ansible で Windows でも快適開発

コメント

このブログの人気の投稿

pip install mojimoji failed

Windows Server 2008 R2 & PHP 5.6(64bit)