Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure_rm_keyvaultsecret does not put a new version when secret_value is updated #378

Open
ToniCipriani opened this issue Apr 21, 2020 · 1 comment

Comments

@ToniCipriani
Copy link

ToniCipriani commented Apr 21, 2020

Same issue as #301, this is still not working.

secret_value was set to random password generated using Ansible lookup plugin, keyvault plugin still returns saying the password is unchanged and does not write a new version.

Using environment variable service principal which has all keyvault access policies except for purge.

pip freeze
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
adal==1.2.2
altgraph==0.10.2
ansible==2.7.10
applicationinsights==0.11.9
argcomplete==1.11.1
asn1crypto==0.24.0
astroid==1.6.6
azure-cli-core==2.0.35
azure-cli-nspkg==3.0.2
azure-common==1.1.11
azure-graphrbac==0.40.0
azure-keyvault==1.0.0a1
azure-mgmt-authorization==0.51.1
azure-mgmt-automation==0.1.1
azure-mgmt-batch==5.0.1
azure-mgmt-cdn==3.0.0
azure-mgmt-compute==4.4.0
azure-mgmt-containerinstance==1.4.0
azure-mgmt-containerregistry==2.0.0
azure-mgmt-containerservice==4.4.0
azure-mgmt-cosmosdb==0.5.2
azure-mgmt-devtestlabs==3.0.0
azure-mgmt-dns==2.1.0
azure-mgmt-hdinsight==0.1.0
azure-mgmt-iothub==0.7.0
azure-mgmt-keyvault==1.1.0
azure-mgmt-loganalytics==0.2.0
azure-mgmt-marketplaceordering==0.1.0
azure-mgmt-monitor==0.5.2
azure-mgmt-network==2.3.0
azure-mgmt-nspkg==2.0.0
azure-mgmt-rdbms==1.4.1
azure-mgmt-redis==5.0.0
azure-mgmt-resource==2.1.0
azure-mgmt-servicebus==0.5.3
azure-mgmt-sql==0.10.0
azure-mgmt-storage==3.1.0
azure-mgmt-trafficmanager==0.50.0
azure-mgmt-web==0.41.0
azure-nspkg==2.0.0
azure-storage==0.35.1
backports.functools-lru-cache==1.5
bcrypt==3.1.7
bdist-mpkg==0.5.0
bonjour-py==0.3
certifi==2019.11.28
cffi==1.12.3
chardet==3.0.4
colorama==0.4.3
configparser==3.7.4
contextlib2==0.6.0.post1
cryptography==2.7
enum34==1.1.6
futures==3.2.0
humanfriendly==7.1.1
idna==2.9
importlib-metadata==1.5.0
ipaddress==1.0.22
isodate==0.6.0
isort==4.3.21
Jinja2==2.10.1
jmespath==0.9.4
knack==0.3.3
lazy-object-proxy==1.4.1
macholib==1.5.1
MarkupSafe==1.1.1
matplotlib==1.3.1
mccabe==0.6.1
modulegraph==0.10.4
monotonic==1.5
msrest==0.6.1
msrestazure==0.5.0
numpy==1.8.0rc1
oauthlib==3.1.0
packaging==20.1
paramiko==2.6.0
passlib==1.7.2
pathlib2==2.3.5
pexpect==4.7.0
ptyprocess==0.6.0
py2app==0.7.3
pycparser==2.19
Pygments==2.5.2
PyJWT==1.7.1
pylint==1.9.4
PyNaCl==1.3.0
pyobjc-core==2.5.1
pyobjc-framework-Accounts==2.5.1
pyobjc-framework-AddressBook==2.5.1
pyobjc-framework-AppleScriptKit==2.5.1
pyobjc-framework-AppleScriptObjC==2.5.1
pyobjc-framework-Automator==2.5.1
pyobjc-framework-CFNetwork==2.5.1
pyobjc-framework-Cocoa==2.5.1
pyobjc-framework-Collaboration==2.5.1
pyobjc-framework-CoreData==2.5.1
pyobjc-framework-CoreLocation==2.5.1
pyobjc-framework-CoreText==2.5.1
pyobjc-framework-DictionaryServices==2.5.1
pyobjc-framework-EventKit==2.5.1
pyobjc-framework-ExceptionHandling==2.5.1
pyobjc-framework-FSEvents==2.5.1
pyobjc-framework-InputMethodKit==2.5.1
pyobjc-framework-InstallerPlugins==2.5.1
pyobjc-framework-InstantMessage==2.5.1
pyobjc-framework-LatentSemanticMapping==2.5.1
pyobjc-framework-LaunchServices==2.5.1
pyobjc-framework-Message==2.5.1
pyobjc-framework-OpenDirectory==2.5.1
pyobjc-framework-PreferencePanes==2.5.1
pyobjc-framework-PubSub==2.5.1
pyobjc-framework-QTKit==2.5.1
pyobjc-framework-Quartz==2.5.1
pyobjc-framework-ScreenSaver==2.5.1
pyobjc-framework-ScriptingBridge==2.5.1
pyobjc-framework-SearchKit==2.5.1
pyobjc-framework-ServiceManagement==2.5.1
pyobjc-framework-Social==2.5.1
pyobjc-framework-SyncServices==2.5.1
pyobjc-framework-SystemConfiguration==2.5.1
pyobjc-framework-WebKit==2.5.1
pyOpenSSL==19.1.0
pyparsing==2.4.6
python-dateutil==2.8.1
pytz==2013.7
PyYAML==5.1.1
requests==2.23.0
requests-oauthlib==1.3.0
scandir==1.10.0
scipy==0.13.0b1
singledispatch==3.4.0.3
six==1.14.0
tabulate==0.8.2
typing==3.7.4.1
urllib3==1.25.8
vboxapi==1.0
virtualenv==16.6.1
wrapt==1.11.2
xattr==0.6.4
xmltodict==0.12.0
zipp==1.2.0

ansible-galaxy info azure.azure_preview_modules

Role: azure.azure_preview_modules
        description: latest Azure modules for provisioning Azure resources
        active: True
        commit: 2413dafa6f979a2070843b073830901cc1b1d868
        commit_message: Repo cleanup (#351)


* cleanup repo, remove old facts modules
        commit_url: https://api.github.com/repos/Azure/azure_preview_modules/git/commits/2413dafa6f979a2070843b073830901cc1b1d868
        company: Microsoft
        created: 2017-12-12T03:00:52.242567Z
        dependencies: []
        download_count: 15544
        forks_count: 43
        galaxy_info:
                author: ZhijunZhao
                cloud_platforms: ['Azure']
                company: Microsoft
                galaxy_tags: ['azure', 'cloud', 'system', 'development', 'networking', 'docker', 'container', 'kubernetes']
                license: MIT
                min_ansible_version: 2.5.0
                platforms: [{'name': 'GenericLinux', 'versions': ['any']}, {'name': 'macOS', 'versions': ['Sierra']}, {'name': 'MacOSX', 'versions': [10.7, 10.8, 10.9, '10.10', 10.11, 10.12]}, {'name': 'Windows', 'versions': ['2012R2']}]
        github_branch: master
        github_repo: azure_preview_modules
        github_server: https://github.com
        github_user: Azure
        id: 22741
        imported: 2020-04-11T17:05:15.307687-04:00
        install_date: Mon Feb 24 20:21:03 2020
        installed_version: 2.9.1
        is_valid: True
        issue_tracker_url: https://github.com/Azure/azure_preview_modules/issues
        license: MIT
        min_ansible_version: 2.5.0
        modified: 2020-04-11T21:05:15.316537Z
        open_issues_count: 30

ansible-playbook --version
'ansible-playbook 2.7.10
  config file = /Users/calcheu/Documents/code/pcf-cloud/modules/gateway/gw_config/ansible.cfg
  configured module search path = [u'/Users/calcheu/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Library/Python/2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible-playbook
  python version = 2.7.16 (default, Jan 27 2020, 04:46:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
@ToniCipriani ToniCipriani changed the title azure_rm_keyvaultsecret does not put a new version azure_rm_keyvaultsecret does not put a new version when secret_value is updated Apr 21, 2020
@Fred-sun
Copy link
Collaborator

@ToniCipriani Thank you very much for your interest in Ansible. This repo is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/azure
Please re-submit this Issue in the above repository and closed this. Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants