<commit_before>---

# Inserts a block for a local Vagrant-based Drush alias.

- name: Ensure local Drush alias file exists.
  delegate_to: 127.0.0.1
  become: no
  template:
    # Don't overwrite existing file.
    force: no
    dest: "~/.drush/{{ drush_alias_file_prefix }}.aliases.drushrc.php"
    src: "{{ playbook_dir }}/../scripts/post-provision/templates/drush.aliases.drushrc.php.j2"

- name: Insert local Drush alias declaration.
  delegate_to: 127.0.0.1
  become: no
  blockinfile:
    dest: "~/.drush/{{ drush_alias_file_prefix | default(vagrant_machine_name) }}.aliases.drushrc.php"
    marker: "// {mark} ANSIBLE MANAGED BLOCK: @{{ drush_alias_file_prefix | default(vagrant_machine_name) }}.loc"
    state: present
    content: |
      $aliases['loc'] = array(
        // vagrant_hostname
        'uri' => '{{ vagrant_hostname }}',
        // drupal_core_path
        'root' => '{{ drupal_core_path }}',
        // vagrant_hostname
        'remote-host' => '{{ vagrant_hostname }}',
        'remote-user' => '{{ vagrant_user }}',
        'ssh-options' => '-o PasswordAuthentication=no -i ' . drush_server_home() . '/.vagrant.d/insecure_private_key',
        'source-command-specific' => array (
          'sql-sync' => array (
            'structure-tables-key' => 'common',
          ),
        ),
        'command-specific' => array (
          'sql-dump' => array (
            'structure-tables-key' => 'common',
          ),
          'archive-dump' => array (
            'structure-tables-key' => 'common',
          ),
          'rsync' => array (
            'mode' => 'Pavu',<commit_msg>add post-sync auto-enable: devel, apc<commit_after>---

# Inserts a block for a local Vagrant-based Drush alias.

- name: Ensure local Drush alias file exists.
  delegate_to: 127.0.0.1
  become: no
  template:
    # Don't overwrite existing file.
    force: no
    dest: "~/.drush/{{ drush_alias_file_prefix }}.aliases.drushrc.php"
    src: "{{ playbook_dir }}/../scripts/post-provision/templates/drush.aliases.drushrc.php.j2"

- name: Insert local Drush alias declaration.
  delegate_to: 127.0.0.1
  become: no
  blockinfile:
    dest: "~/.drush/{{ drush_alias_file_prefix | default(vagrant_machine_name) }}.aliases.drushrc.php"
    marker: "// {mark} ANSIBLE MANAGED BLOCK: @{{ drush_alias_file_prefix | default(vagrant_machine_name) }}.loc"
    state: present
    content: |
      $aliases['loc'] = array(
        // vagrant_hostname
        'uri' => '{{ vagrant_hostname }}',
        // drupal_core_path
        'root' => '{{ drupal_core_path }}',
        // vagrant_hostname
        'remote-host' => '{{ vagrant_hostname }}',
        'remote-user' => '{{ vagrant_user }}',
        'ssh-options' => '-o PasswordAuthentication=no -i ' . drush_server_home() . '/.vagrant.d/insecure_private_key',
        'source-command-specific' => array (
          'sql-sync' => array (
            'structure-tables-key' => 'common',
          ),
        ),
        'target-command-specific' => array(
          'sql-sync'  => array(
            'enable'  => array('devel', 'apc'),
          ),
        ),
        'command-specific' => array (
          'sql-dump' => array (
            'structure-tables-key' => 'common',
          ),
          'archive-dump' => array (
            'structure-tables-key' => 'common',
          ),
          'rsync' => array (
            'mode' => 'Pavu',
{'fraction_non_alphanumeric': 0.1625368731563422, 'fraction_numerical': 0.007669616519174041, 'mean_word_length': 2.279497098646035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6717481', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1144, 'n_words': 212}