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

ibm_iam_access_group does not create IAM access groups #101

Open
Zokormazo opened this issue May 11, 2022 · 0 comments
Open

ibm_iam_access_group does not create IAM access groups #101

Zokormazo opened this issue May 11, 2022 · 0 comments

Comments

@Zokormazo
Copy link

collection version: 1.39.0

Reproducing steps

---
- hosts: localhost
  gather_facts: no
  tasks:
    - name: create access group
      ibm.cloudcollection.ibm_iam_access_group:
        name: access-group
    

Expected behaviour

A new access group called access-group is created.

Actual behaviour

Nothing happens:

TASK [create access group] *******************************************************************************************************************************************************************************************************************
task path: /home/julen/tmp/prueba.yml:5
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: julen
<127.0.0.1> EXEC /bin/sh -c 'echo ~julen && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/julen/.ansible/tmp `"&& mkdir "` echo /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195 `" && echo ansible-tmp-1652270424.8405094-49371-202707051300195="` echo /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195 `" ) && sleep 0'
Using module file /home/julen/.ansible/collections/ansible_collections/ibm/cloudcollection/plugins/modules/ibm_iam_access_group.py
<127.0.0.1> PUT /home/julen/.ansible/tmp/ansible-local-49367krofy7os/tmpsc6p4ft6 TO /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195/AnsiballZ_ibm_iam_access_group.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195/ /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195/AnsiballZ_ibm_iam_access_group.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/home/julen/src/gitlab.cee.redhat.com/jlandaal/ibmcloud-descriptor-collection/.venv/bin/python3.9 /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195/AnsiballZ_ibm_iam_access_group.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/julen/.ansible/tmp/ansible-tmp-1652270424.8405094-49371-202707051300195/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
    "changed": false,
    "invocation": {
        "module_args": {
            "description": null,
            "iaas_classic_api_key": null,
            "iaas_classic_username": null,
            "ibmcloud_api_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "id": null,
            "name": "access-group",
            "region": "us-east",
            "state": "available",
            "tags": null
        }
    },
    "rc": 0,
    "resource": {
        "access_group_name": "",
        "groups": [
          // current access groups are listed here.
        ],
        "id": "515b401aa3334864a3d7f26b19e780b0"
    },
    "stderr": "",
    "stderr_lines": [],
    "stdout": "data.ibm_iam_access_group.ansible_accessgroup: Refreshing state...\n\nApply complete! Resources: 0 added, 0 changed, 0 destroyed.\n",
    "stdout_lines": [
        "data.ibm_iam_access_group.ansible_accessgroup: Refreshing state...",
        "",
        "Apply complete! Resources: 0 added, 0 changed, 0 destroyed."
    ]
}

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

1 participant