ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
786 stars 1.45k forks source link

Puppet Facts not working #7932

Open skhan28 opened 5 months ago

skhan28 commented 5 months ago

Summary

I was trying to mention facts in puppet modle and passing it with dict variable but seems like it is not able to work with dict

Issue Type

Bug Report

Component Name

puppet

Ansible Version

$ ansible --version
ansible [core 2.15.8]

Community.general Version

$ ansible-galaxy collection list community.general
Collection        Version
----------------- -------
community.general 7.5.2

Configuration

$ ansible-config dump --only-changed

OS / Environment

RHEL 8

Steps to Reproduce

- hosts: all
  gather_facts: false
  vars:
    facts_new:
      "FACTER_deployment_state": "running"

  tasks:
    - name: Run puppet agent on puppet 7 node
      become: yes
      block:
        - name: Run puppet agent
          ansible.builtin.puppet:
            debug: yes
            verbose: yes
            summarize: yes
            facts: "{{ facts_new }}"

Expected Results

puppet agent run

Actual Results

Code of Conduct

ansibullbot commented 5 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 5 months ago

cc @emonty click here for bot help

frittentheke commented 4 months ago

@skhan28 check out https://github.com/ansible-collections/community.general/issues/8000 or https://github.com/ansible-collections/community.general/issues/8001 ... could this be the same root cause?