diff --git a/tasks/install.yml b/tasks/install.yml
index 435508b035118fbd1c326879dcfa67969e140988..0f09588c53488959fd81d747a2545a08b5ecf965 100644
--- a/tasks/install.yml
+++ b/tasks/install.yml
@@ -261,6 +261,10 @@
         {
           regex: 'drupal_deploy_info',
           line: "$settings['drupal_deploy_info'] = array('branch' => '{{ drupalDeployInfoBranch }}','tag' => '{{ drupalDeployInfoTag }}','timestamp' => '{{ ansible_date_time.epoch }}',);"
+        },
+        {
+          regex: 'deployment_identifier',
+          line: "$settings['deployment_identifier'] = \Drupal::VERSION . '-{{ ansible_date_time.epoch }}';"
         }
       ]
   tags: