aem_design.aem_content

Ansible Role: AEM Content

Build Status

This role helps you manage content in AEM (Adobe Experience Manager).

This role was built as part of AEM.Design

Requirements

No specific requirements.

Content Actions

Action Name Variable Name Example
Set Permission set_permission - {
  user_or_group_name: 'exporter',
  path: '/',
  permissions: 'read:true,modify:false,create:false,delete:false,acl_read:false,acl_edit:false,replicate:false'
}
Set Property set_property - {
  path: '/',
  property_name: 'sling:target',
  property_value: '/projects'
}

Role Variables

Here are the variables you can use, along with their default values (check defaults/main.yml):

Variable Name Required Default Notes
aem_port 4502 Port for AEM service
aem_host localhost Host for AEM service
aem_username admin
aem_password admin
wait_delay 1 Wait time between retries
wait_timeout 1 Wait time before stopping
wait_retries 1 Number of retry attempts
aem_content_action Action to perform on content
aem_content_list List of content for the action

Dependencies

No dependencies.

Example Playbook

- hosts: all
  tasks:
    - name: set permissions
      include_role:
        name: "{{ role_name }}"
      vars:
        aem_port: "{{ test_aem_port }}"
        aem_host: "{{ dockerhost_ip.stdout }}"
        aem_content_action: "set_permission"
        aem_content_list:
          - {
            user_or_group_name: 'everyone',
            path: '/libs/granite/dispatcher/content/vanityUrls',
            permissions: 'read:true'
          }
        debug_hide: false
    - name: set property
      include_role:
        name: "{{ role_name }}"
      vars:
        aem_port: "{{ test_aem_port }}"
        aem_host: "{{ dockerhost_ip.stdout }}"
        aem_content_action: "set_property"
        aem_content_list:
          - {
            path: '/libs/granite/dispatcher/content/vanityUrls',
            property_name: 'test',
            property_value: "{{ test_aem_property_content }}"
          }
        debug_hide: false

License

Apache 2.0

Author Information

This role was created by Max Barrass.

Informazioni sul progetto

Perform actions on content in AEM.

Installa
ansible-galaxy install aem_design.aem_content
Licenza
Unknown
Download
75
Proprietario
Designing AEM Experience End-To-End.